<%@ include file="/html/common/init.jsp"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<script type="text/javascript" src="/js/funcao.js" charset="ISO-8859-1"></script>
</head>
<body>
<table align="center" width="100%" border="1" cellpadding="1" cellspacing="1">
<tr><td>
<c:if test='${CUL != null}'>
	<table align="center" width="100%" border="0" cellpadding="1" cellspacing="1">
		<tbody><tr class="portlet-section-header">
			<th class="titulo_tab" align="left">Cultura</th>
			<th class="titulo_tab" width="50"></th>
		</tr>
		<% int contCUL = 1; %>
		<c:forEach var="especialidadeCUL" items="${CUL}">
			<input type="hidden" name="id" value="<c:out value="${especialidadeCUL.id}" />" />
			<%if (contCUL%2 == 0) {%>
			<tr class="portlet-section-body" style="font-weight: normal;" onmouseenter="this.className = 'portlet-section-body-hover';" onmouseleave="this.className = 'portlet-section-body';">
			<% } else {%>
			<tr class="portlet-section-alternate" style="font-weight: normal;" onmouseenter="this.className = 'portlet-section-alternate-hover';" onmouseleave="this.className = 'portlet-section-alternate';">
			<% } %>
				<td>
					<a href="<portlet:actionURL windowState="<%= WindowState.MAXIMIZED.toString() %>">
				  		<portlet:param name="struts_action" value="/ext/especialidade/acao" />
				  		<portlet:param name="id"			value="${especialidadeCUL.id}" />
				  		<portlet:param name="acao"			value="detalhar" />
			  	  		</portlet:actionURL>" method="post" name="<portlet:namespace />fm">
						<c:out value="${especialidadeCUL.nome}"/>
					</a>
				</td>
				<td align="center">
					<a href="<portlet:actionURL windowState="<%= WindowState.MAXIMIZED.toString() %>">
				  		<portlet:param name="struts_action" value="/ext/especialidade/acao" />
				  		<portlet:param name="id"			value="${especialidadeCUL.id}" />
				  		<portlet:param name="acao"			value="edit_especialidade" />
			  	  		</portlet:actionURL>" method="post" name="<portlet:namespace />fm">
						Edit
					</a>
					<a href="<portlet:actionURL windowState="<%= WindowState.MAXIMIZED.toString() %>">
				  		<portlet:param name="struts_action" value="/ext/especialidade/acao" />
				  		<portlet:param name="id"			value="${especialidadeCUL.id}" />
				  		<portlet:param name="acao"			value="delete_especialidade" />
			  	  		</portlet:actionURL>" method="post" name="<portlet:namespace />fm">
						Del
					</a>
				</td>
			</tr>
			</tr>
</tbody>
<%contCUL++; %>
		</c:forEach>
	</table>
</c:if>
</td></tr>
</table>